package com.example.springboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * <p>
 * 系统日志
 * </p>
 *
 * @author wgc
 * @since 2023-12-11
 */
@Getter
@Setter
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel(value = "Logs对象", description = "系统日志")
public class Logs implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
      private Integer id;

      @ApiModelProperty("操作名称")
      private String operation;

      @ApiModelProperty("操作类型")
      private String type;

      @ApiModelProperty("ip地址")
      private String ip;

      @ApiModelProperty("操作人")
      private String user;

      @ApiModelProperty("操作时间")
      private String time;


}
